package com.cheng.im.service.common.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel("IM同步聊天会话响应类")
public class SyncResp<T> {

    @ApiModelProperty("客户端最大序列号")
    private Long maxSequence;

    @ApiModelProperty(value = "同步状态")
    private boolean isCompleted;

    @ApiModelProperty("同步数据返回列表")
    private List<T> dataList;

}
